Skip to content

Make abstract phoare proc use a >= 1#887

Merged
oskgo merged 1 commit intomainfrom
weaken-phoare-abs-proc
Feb 6, 2026
Merged

Make abstract phoare proc use a >= 1#887
oskgo merged 1 commit intomainfrom
weaken-phoare-abs-proc

Conversation

@oskgo
Copy link
Contributor

@oskgo oskgo commented Feb 5, 2026

I change the ground truth to be a (IMO easier to work with) variant with a >= 1 bound and instead recover the = 1 variant using conseq on the original goal and the generated side conditions.

This also means that the conseq used to link the invariant with the postcondition now generates a goal to show implication rather than equivalence, making it more consistent with abstract proc for the other program logics, improving the documentation.

This is a breaking change since it slightly changes one of the goals generated by the tactic.

@strub strub force-pushed the weaken-phoare-abs-proc branch from 11cfc9f to f24b7e7 Compare February 6, 2026 14:35
@oskgo oskgo enabled auto-merge (squash) February 6, 2026 14:56
@oskgo oskgo merged commit 83b8f23 into main Feb 6, 2026
17 checks passed
@oskgo oskgo deleted the weaken-phoare-abs-proc branch February 6, 2026 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants